package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员进出记录对象 zhmk_userinout
 * 
 * @author sxl
 * @date 2021-06-15
 */
public class ZhmkUserinout extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员进出ID */
    private Long uinoutId;

    /** 进出人员姓名 */
    @Excel(name = "进出人员姓名")
    private String userName;

    /** 人员类型（00常驻人员 01临时人员） */
    @Excel(name = "人员类型", readConverterExp = "0=0常驻人员,0=1临时人员")
    private String userType;

    /** 请假事由 */
    @Excel(name = "请假事由")
    private String reason;

    /** 审核人 */
    @Excel(name = "审核人")
    private String checkUserName;

    /** 进出门位置 */
    @Excel(name = "进出门位置")
    private String outdoorSite;

    /** 人员照片 */
    @Excel(name = "人员照片")
    private String avatar;

    /** 进出时间 */
    @Excel(name = "进出时间")
    private String uinoutTime;
    /**
     * 人员id
     */
    private String userId;

    public void setUinoutId(Long uinoutId) 
    {
        this.uinoutId = uinoutId;
    }

    public Long getUinoutId() 
    {
        return uinoutId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setCheckUserName(String checkUserName) 
    {
        this.checkUserName = checkUserName;
    }

    public String getCheckUserName() 
    {
        return checkUserName;
    }
    public void setOutdoorSite(String outdoorSite) 
    {
        this.outdoorSite = outdoorSite;
    }

    public String getOutdoorSite() 
    {
        return outdoorSite;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setUinoutTime(String uinoutTime) 
    {
        this.uinoutTime = uinoutTime;
    }

    public String getUinoutTime() 
    {
        return uinoutTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uinoutId", getUinoutId())
            .append("userName", getUserName())
            .append("userType", getUserType())
            .append("reason", getReason())
            .append("checkUserName", getCheckUserName())
            .append("outdoorSite", getOutdoorSite())
            .append("avatar", getAvatar())
            .append("uinoutTime", getUinoutTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
